package com.woniuxy.lrz.carlproject.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 管理员表
 * </p>
 *
 * @author lrz
 * @since 2022-09-28
 */
@TableName("manager")
@ApiModel(value = "Manager对象", description = "管理员表")
public class Manager implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "manager_id", type = IdType.AUTO)
    private Integer managerId;

    @ApiModelProperty("管理员姓名")
    private String managerName;

    @ApiModelProperty("管理员密码")
    private String managerPwd;

    @ApiModelProperty("联系电话")
    private String phone;

    @ApiModelProperty("0 顶级管理  1 普通管理员")
    private String level;

    public Integer getManagerId() {
        return managerId;
    }

    public void setManagerId(Integer managerId) {
        this.managerId = managerId;
    }

    public String getManagerName() {
        return managerName;
    }

    public void setManagerName(String managerName) {
        this.managerName = managerName;
    }

    public String getManagerPwd() {
        return managerPwd;
    }

    public void setManagerPwd(String managerPwd) {
        this.managerPwd = managerPwd;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getLevel() {
        return level;
    }

    public void setLevel(String level) {
        this.level = level;
    }

    @Override
    public String toString() {
        return "Manager{" +
        "managerId = " + managerId +
        ", managerName = " + managerName +
        ", managerPwd = " + managerPwd +
        ", phone = " + phone +
        ", level = " + level +
        "}";
    }
}
